home *** CD-ROM | disk | FTP | other *** search
/ Developer Helper 1: Phil & Dave's Excellent CD / Excellent CD HFS.raw / HyperCard / HyperCard 1.2.2 International / HyperCard Italian (T-1.2.2) / Stack Principali / Note di Rilascio (1.2.2) / Note di Rilascio (1.2.2) / card_11172.txt < prev    next >
Text File  |  1988-12-01  |  3KB  |  114 lines

  1. -- card: 11172 from stack: in.2)
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 5683
  5. -- name: userModify
  6. ----- HyperTalk script -----
  7. on modificaCampo
  8.   set lockText of field "titolo" to FALSE
  9.   select line 1 of field "titolo"
  10.   type "C"
  11.   wait 15
  12.   type "i"
  13.   wait 15
  14.   type "a"
  15.   wait 15
  16.   type "o"
  17.   wait 15
  18.   type "!"
  19. end modificaCampo
  20.  
  21. on cleanExit
  22.   set lockText of field "titolo"  to TRUE
  23.   set cantModify of this stack to FALSE
  24.   set userModify to FALSE
  25.   --if we've left the card and the stack is write-protected, then
  26.   --the demo script won't be showing when we return, so show it:
  27.   if the cantModify of this stack is TRUE then
  28.     send "mouseUp" to bg btn "demo"
  29.   end if
  30. end cleanExit
  31.  
  32.  
  33. -- part contents for background part 7
  34. ----- text -----
  35. userModify
  36.  
  37. -- part contents for background part 8
  38. ----- text -----
  39. set userModify to {TRUE|FALSE}
  40.  
  41. -- part contents for background part 9
  42. ----- text -----
  43. Nuove Propriet√† HyperTalk
  44. Scheda 6 su 6
  45.  
  46. -- part contents for background part 10
  47. ----- text -----
  48. nessuno
  49.  
  50. -- part contents for background part 11
  51. ----- text -----
  52. userModify √® una propriet√† globale che permette di scrivere nei campi e usare gli strumenti di Disegno in uno stack protetto in scrittura.  Le modifiche fatte dall'utente (o da un programma) sono annullate uscendo dalla scheda.  La propriet√† √® FALSE quando cambi stack o esci da HyperCard;  userModify non ha effetti su uno stack sprotetto.
  53.  
  54. -- part contents for background part 17
  55. ----- text -----
  56. --permette all'utente di fasre modifiche se lo 
  57. --stack √® protetto in scrittura:
  58.  
  59. set userModify to TRUE
  60.  
  61. --evita che gli utenti facciano modifiche anche 
  62. --temporanee in uno stack protetto in scrittura:
  63.  
  64. set userModify to FALSE
  65.  
  66. --per avere il valore corrente di userModify:
  67. get the userModify
  68. set userModify to not(the userModify)
  69.  
  70. -- part contents for background part 18
  71. ----- text -----
  72. on userModifyDemo
  73. --Prima, protegge in scrittura lo stack:
  74.   set cantModify  of this stack to TRUE
  75. --Permette all'utente le modifiche e ne fa una:
  76.   set userModify to TRUE
  77.   modificaCampo -- nel programma della scheda
  78.   
  79. --Mostra che il cambio √® temporaneo:
  80.   cleanEnter -- nel programma della cornice
  81.   wait 2 seconds
  82.   go next card
  83.   wait 30
  84.   go back
  85.   cleanExit -- nel programma della cornice
  86. end userModifyDemo
  87.  
  88. -- part contents for background part 31
  89. ----- text -----
  90. cantDelete
  91. cantModify
  92. Nuovi Sinonimi
  93. Stack sui File Server
  94. Stack protetti in scrittura
  95.  
  96.  
  97. -- part contents for background part 35
  98. ----- text -----
  99. ‚Ä¢  Quando userModify √® TRUE, gli utenti possono lavorare 
  100.     con gli oggetti di una scheda (ad esempio aggiungere,
  101.     cancellare e modificare pulsanti e campi).  Anche queste
  102.     modifiche sono annullate quando l'utente lascia la
  103.     scheda.
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.